package cn.webrx;

import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.RandomUtils;
import org.apache.commons.lang3.StringUtils;

public class Su2 {
    public static void main(String[] args) {
        //System.out.println(StringUtils.reverse("java123"));
        System.out.println("hello java 3.2.1 html");
        System.out.println(StringUtils.reverseDelimited("hello java  html",' '));

        int[] n = {1,2,3};
        System.out.println(ArrayUtils.toString(n));
        int[] nn = ArrayUtils.add(n,100);
        System.out.println(ArrayUtils.toString(nn));

        for (int i = 0; i < 10; i++) {
            System.out.println(RandomUtils.nextInt(1, 5));

        }

    }
}
